package org.example.service.yy.ServiceImpl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.apache.ibatis.annotations.Param;
import org.example.entity.yy.Introduce;
import org.example.entity.yy.Region;
import org.example.mapper.IntroduceMapper;
import org.example.mapper.RegionMapper;
import org.example.service.yy.IntroduceService;
import org.example.service.yy.RegionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class IntroduceServiceImpl extends ServiceImpl<IntroduceMapper, Introduce> implements IntroduceService {
    @Autowired
    private IntroduceMapper introduceMapper;

    @Override
    public List<Introduce> selectByScenicId(Integer attId){
        return introduceMapper.selectByScenicId(attId);
    }
}
